package collector;

import org.springframework.stereotype.Component;
import org.springframework.stereotype.Controller;
import org.springframework.stereotype.Repository;
import org.springframework.stereotype.Service;

import collector.Collector;
@Component(value="nc")
//三种具体区分层次的component的写法
//@Service(value="nc")
//@Repository(value="nc")
//@Controller(value="nc")
public class NetCollector implements Collector {
		
	@Override
	public void collect() {
		System.out.println("Net Collect.....");
	}

}
